package edu.fzu.crud.dao;

import edu.fzu.crud.bean.School;
import edu.fzu.crud.bean.SchoolExample;
import java.util.List;

import edu.fzu.crud.bean.Student;
import edu.fzu.crud.bean.vo.StuInfoVo;
import org.apache.ibatis.annotations.Param;

public interface SchoolMapper {
    long countByExample(SchoolExample example);

    int deleteByExample(SchoolExample example);

    int deleteByPrimaryKey(Integer schoolId);

    int insert(School record);

    int insertSelective(School record);

    int insertSelectiveByStuInfoVo(StuInfoVo record);

    List<School> selectByExample(SchoolExample example);

    School selectByPrimaryKey(Integer schoolId);

    int updateByExampleSelective(@Param("record") School record, @Param("example") SchoolExample example);

    int updateByExample(@Param("record") School record, @Param("example") SchoolExample example);

    int updateByPrimaryKeySelective(School record);

    int updateByPrimaryKey(School record);


}